﻿@model SchoolProject2012.Areas.Eleve.Models.PROJET
@using SchoolProject2012.Langue
@{
    ViewBag.Title = Resources.detailsProjet;
}



<fieldset>
    <legend>@Resources.projet</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.DATE_DBT_PROJ)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DATE_DBT_PROJ)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.DATE_FIN_PROJET)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DATE_FIN_PROJET)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.DESC_PROJET)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DESC_PROJET)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.TITRE_PROJET)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.TITRE_PROJET)
    </div>
</fieldset>
<div>
    @foreach (var item in Model.GROUPE)
    {
        @Html.ActionLink(item.LIBGROUPE + " (" + item.ELEVE.Count + Resources.inscrit +")", "DetailsGroupe", new { idGroupe = item.IDGROUPE, id = Model.IDPROJET, langue = ViewBag.langue }, new { @class = "link" })
    }
</div>
<p>
    @Html.ActionLink(Resources.addGroup, "AddGroup", new { id = Model.IDPROJET, langue = ViewBag.langue }, new { @class= "link" })
</p>
